<template>
  <div class="content-table-tool">
    <div class="content-table-tool-temp">
      <div title="刷新" @click="reload">
        <i class="el-icon-refresh-right"></i>
      </div>
      <div title="打印"><i class="iconfont icon-dayin"></i></div>
      <div title="文件导出">
        <i class="iconfont icon-wenjiandaochu"></i>
      </div>
      <div title="筛选列"><i class="iconfont icon-shaixuan"></i></div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    reload() {
      this.$bus.$emit('reloadTable');
    },
  },
};
</script>

<style lang="less" scoped>
.content-table-tool {
  overflow: hidden;
  background-color: #f2f2f2;
  height: 50px;

  .content-table-tool-temp {
    margin: 10px 10px;
    height: 30px;

    div {
      height: 26px;
      line-height: 26px;
      width: 26px;
      margin: 1px 5px;
      border: 1px solid #cccccc;
      font-size: 18px;
      color: #333333;
      text-align: center;
      cursor: pointer;
    }

    div:hover {
      border: 1px solid #999999;
    }

    div:nth-child(1) {
      float: left;
    }

    div:nth-child(2),
    div:nth-child(3),
    div:nth-child(4) {
      float: right;
    }
  }
}
</style>
